projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b40717
)
(xrealloc): Change cast to match return type.
author
Karl Heuer
<kwzh@gnu.org>
Sat, 12 Aug 1995 18:15:28 +0000
(18:15 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sat, 12 Aug 1995 18:15:28 +0000
(18:15 +0000)
lib-src/fakemail.c
patch
|
blob
|
history
diff --git
a/lib-src/fakemail.c
b/lib-src/fakemail.c
index 4a2618ad5ce51996f984cedf91a52e5a3d796fcd..6e0cca22e58e33cef9e51c94bf5d1d0d4961ef10 100644
(file)
--- a/
lib-src/fakemail.c
+++ b/
lib-src/fakemail.c
@@
-182,7
+182,7
@@
xrealloc (ptr, size)
int size;
{
long *result = (long *) realloc (ptr, ((unsigned) size));
- if (result == ((
char
*) NULL))
+ if (result == ((
long
*) NULL))
fatal ("virtual memory exhausted");
return result;
}